package com.ruoyi.bearing.mapper;

import java.util.List;
import com.ruoyi.bearing.domain.BearingLifeForecastResult;

/**
 * 寿命预测结果Mapper接口
 * 
 * @author ruoyi
 * @date 2025-02-08
 */
public interface BearingLifeForecastResultMapper 
{
    /**
     * 查询寿命预测结果
     * 
     * @param id 寿命预测结果主键
     * @return 寿命预测结果
     */
    public BearingLifeForecastResult selectBearingLifeForecastResultById(Long id);

    /**
     * 查询寿命预测结果列表
     * 
     * @param bearingLifeForecastResult 寿命预测结果
     * @return 寿命预测结果集合
     */
    public List<BearingLifeForecastResult> selectBearingLifeForecastResultList(BearingLifeForecastResult bearingLifeForecastResult);

    /**
     * 新增寿命预测结果
     * 
     * @param bearingLifeForecastResult 寿命预测结果
     * @return 结果
     */
    public int insertBearingLifeForecastResult(BearingLifeForecastResult bearingLifeForecastResult);

    /**
     * 修改寿命预测结果
     * 
     * @param bearingLifeForecastResult 寿命预测结果
     * @return 结果
     */
    public int updateBearingLifeForecastResult(BearingLifeForecastResult bearingLifeForecastResult);

    /**
     * 删除寿命预测结果
     * 
     * @param id 寿命预测结果主键
     * @return 结果
     */
    public int deleteBearingLifeForecastResultById(Long id);

    /**
     * 批量删除寿命预测结果
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBearingLifeForecastResultByIds(Long[] ids);
}
